import http from "@/uitls/http";
// 选择报修类目
export const maintenanceTypes = ()=>{
	return http._post(`rental/dictvalue/maintenanceTypes`,{},true)
}

// 选择房源
export const renterPage = ()=>{
	return http._post(`rental/house/renter/page`,{},true)
}

//提交故障
export const maintenanceAdd = (params)=>{
	return http._post(`rental/house/maintenance/add`,params,true)
}
//上传图片
// rental/house/maintenance/upload

//获取维修详情
export const maintenanceDetail = (id)=>{
	return http._post(`rental/house/maintenance/detail/${id}`,{},true)
}